2.15 Saving container data

When issuing a smart card using a data model, you can save the data that is written to a container to the MyID database; to configure MyID to do so, you must modify the data model XML file for the appropriate device type.

To save container data:

  1. Open the data model file in a text editor.

    By default, the card data model files are stored on the application server in the following folder:

    C:\Program Files\Intercede\MyID\Components\CardServer\CardFormats\

    Note: You are recommended to take a copy of the existing file, rename it, and make your changes in the renamed file to ensure that your changes are not overwritten when updating your MyID system.

    You must back up your custom data model files before carrying out an upgrade. See the Upgrading systems with customized card data models section in the Installation and Configuration Guide.

  2. Locate the required container data in the data model file by finding the matching container ID or checking the container description.

    Copy
    <Container>
      <ID>5FC102</ID>
      <Name>Card Holder Unique Identifier</Name>
      ...
    </Container>
  3. Modify the data model by adding a <SaveContainer> node with the required container identifier.

    It makes sense to set the container identifier to be the same as the container ID; for example, for container ID 5FC102 add the node as follows:

    Copy
    <Container>
      <ID>5FC102</ID>
      <Name>Card Holder Unique Identifier</Name>
      <SaveContainer>DeviceContainers.5FC102</SaveContainer>
      ...
    </Container>
  4. Save the XML file.

The container data is saved in the DeviceContainers table in the MyID database when:

2.15.1 Data storage

The saved data is stored in the DeviceContainers table in the following columns:

Column

Description

DeviceID

The reference to the Devices table entry associated with this data.

ContainerIdentifier

The identifier specified in the <SaveContainer> node.

PersoDate

The last date on which the data was written or updated.

Data

The container data in hex format.

An example of data written to the table for the container 5FC102 is:

ID

DeviceID

ContainerIdentifier

PersoDate

Data

1

3

5FC102

2021-07-02 07:55:28.323

3019D4E739DA739C ...

2.15.2 Retrieving data

It is the responsibility of the system integrator to retrieve the data from database and push it to the required system; for example, into your PACS. You are also recommended to purge the records after pushing the data. No user interface is provided for these procedures.